package com.headhunter.portlet.service;

import java.util.List;

import com.headhunter.portlet.dao.VocationDAO;
import com.headhunter.portlet.domain.Vocation;

/**
 * A service interface for <code>Vocation</code> domain class.
 * 
 * @author Denis Skalenko
 */

public interface VocationService {
	/**
	 * Get list of all vocations that sorted by date in descending order.
	 */
	public List<Vocation> vocationsListOrderByDate();

	/**
	 * Inject the Repository through that method. This method used in Test
	 * 
	 * @param vocationDao
	 */
	public void setDao(VocationDAO vocationDAO);
}